package com.water.wfo.sys.pojo.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * packageName com.water.wfo.sys.pojo.dto
 *
 * @author
 * @className LoginUserInfoDto(处以class为网)
 * @date 2024/8/15
 * @description T0D0
 */
@Data
public class LoginUserInfoDto implements Serializable {

    private static final long serialVersionUID = -9126868369671262147L;
    //创建时间
    private Date createTime;
    //更改时间
    private Date updateTime;
    //生效开始时间
    private Date activeBeginTime;
    //生效截止
    // 时间
    private Date activeEndTime;

    private String loginId;

    private String loginName;

    public LoginUserInfoDto(){
        Date date = new Date();
        this.createTime =date;
        this.updateTime= date;
        this.activeBeginTime = date;
        this.activeEndTime = date;
    }

    public LoginUserInfoDto(String loginId, String loginName) {
        this.loginId = loginId;
        this.loginName = loginName;
    }
}
